//
//  DDQuestionAnswerList.m
//  dingdang
//
//  Created by 阮 沧晖 on 15/7/26.
//  Copyright (c) 2015年 阮 沧晖. All rights reserved.
//

#import "DDQuestionAnswerList.h"


@implementation DDQuestionAnswerLabelInfo

+(JSONKeyMapper *)keyMapper{
    return [[JSONKeyMapper alloc]initWithDictionary:@{
                                                      @"x" : @"x",
                                                      @"id" : @"id",
                                                      @"uid" : @"uid",
                                                      @"type" : @"type",
                                                      @"y" : @"y",
                                                      @"title" : @"title",
                                                      @"text" : @"text",
                                                      @"createTime" : @"createTime",
                                                      @"url" : @"url"
                                                      }];
}

@end

@implementation DDQuestionAnswerExplanation

+(JSONKeyMapper *)keyMapper{
    return [[JSONKeyMapper alloc]initWithDictionary:@{
                                                      @"description" : @"desc",
                                                      @"id" : @"id",
                                                      @"labels" : @"labels",
                                                      @"text" : @"text",
                                                      @"title" : @"title",
                                                      @"type" : @"type",
                                                      @"url" : @"url"
                                                      }];
}

@end

@implementation DDQuestionAnswerQuestionOptionsContent

+(JSONKeyMapper *)keyMapper{
    return [[JSONKeyMapper alloc]initWithDictionary:@{
                                                      @"description" : @"desc",
                                                      @"id" : @"id",
                                                      @"labels" : @"labels",
                                                      @"text" : @"text",
                                                      @"title" : @"title",
                                                      @"type" : @"type",
                                                      @"url" : @"url"
                                                      }];
}

@end


@implementation DDQuestionAnswerQuestionOptions

+(JSONKeyMapper *)keyMapper{
    return [[JSONKeyMapper alloc]initWithDictionary:@{
                                                      @"content" : @"content",
                                                      @"currect" : @"currect",
                                                      @"id" : @"id",
                                                      @"label" : @"label"
                                                      //                                                      @"orderIndex" : @"orderIndex",
                                                      //                                                      @"score" : @"score",
                                                      //                                                      @"seconds" : @"seconds",
                                                      //                                                      @"subjective" : @"subjective",
                                                      //                                                      @"tip" : @"tip",
                                                      //                                                      @"type" : @"type",
                                                      //                                                      @"typeName" : @"typeName",
                                                      //                                                      @"uid" : @"uid"
                                                      }];
}

@end




@implementation DDQuestionAnswerBody

+(JSONKeyMapper *)keyMapper{
    return [[JSONKeyMapper alloc]initWithDictionary:@{
                                                      @"description" : @"desc",
                                                      @"id" : @"id",
                                                      @"labels" : @"labels",
                                                      @"text" : @"text",
                                                      @"title" : @"title",
                                                      @"type" : @"type",
                                                      @"url" : @"url"
                                                      }];
}

@end

@implementation DDQuestionAnswerQuestion

+(JSONKeyMapper *)keyMapper{
    return [[JSONKeyMapper alloc]initWithDictionary:@{
                                                      @"answer" : @"answer",
                                                      @"arrangment" : @"arrangment",
                                                      @"body" : @"body",
                                                      @"course" : @"course",
                                                      @"courseName" : @"courseName",
                                                      @"createTime" : @"createTime",
                                                      @"explanation" : @"explanation",
                                                      @"id" : @"id",
                                                      @"score" : @"score",
                                                      @"emptyOption" : @"emptyOption",
                                                      @"options" : @"options",
                                                      @"type" :@"type",
                                                      @"typeName" :@"typeName",
                                                      @"orderIndex" :@"orderIndex",
                                                      }];
}
@end


@implementation DDQuestionAnswerListCell
+(JSONKeyMapper *)keyMapper{
    return [[JSONKeyMapper alloc]initWithDictionary:@{
                                                      @"adopted" : @"adopted",
                                                      @"answer" : @"answer",
                                                      @"answerTime" : @"answerTime",
                                                      @"costSeconds" : @"costSeconds",
                                                      @"explanation" : @"explanation",
                                                      @"id" : @"id",
                                                      @"question" : @"question",
                                                      @"result" : @"result",
                                                      @"score" : @"score",
                                                      @"uid" : @"uid",
                                                      @"userAvatarUrl" : @"userAvatarUrl",
                                                      @"userName" : @"userName",
                                                      @"nickName" : @"nickName"
                                                      }];
}
@end

@implementation DDQuestionAnswerList
+(JSONKeyMapper *)keyMapper{
    return [[JSONKeyMapper alloc]initWithDictionary:@{
                                                      @"list" : @"list",
                                                      @"total":@"total",
                                                      }];
}
@end